﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using LUStationery.Controller;
using LUStationery.Model;
using LUStationery.DAO;

public partial class CheckPO : System.Web.UI.Page
{
    PoControl pocont;
    OrdersControl ordercont;
    protected void Page_Load(object sender, EventArgs e)
    {
        if(!IsPostBack)
        {
            pocont = new PoControl();
            ddlPOID.DataSource = pocont.getPoIDs();
            ddlPOID.DataTextField = "PurchaseOrderID";
            ddlPOID.DataValueField = "PurchaseOrderID";
            ddlPOID.DataBind();

            string poID=ddlPOID.SelectedValue;
            pocont.getPObyPoID(poID);
            lblPOID.Text=
        }

    }
}
